﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Students.master" AutoEventWireup="true" CodeFile="SChangePwd.aspx.cs" Inherits="SChangePwd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
&nbsp;&nbsp;
旧密码：
<asp:TextBox 
     ID = "txtOldPwd"
     runat = "server"
     TextMode = "Password"></asp:TextBox>
<asp:RequiredFieldValidator 
     ID = "reqOldPwd"
     runat = "server"
     ControlToValidate = "txtOldPwd"
     ErrorMessage = "*" ></asp:RequiredFieldValidator>
<br />
&nbsp;&nbsp;
新密码：
<asp:TextBox 
     ID = "txtNewPwd"
     runat = "server"
     TextMode = "Password" ></asp:TextBox>
<asp:RequiredFieldValidator 
     ID = "reqNewPwd"
     runat = "server"
     ControlToValidate = "txtNewPwd"
     ErrorMessage = "*" ></asp:RequiredFieldValidator>
<br />
确认密码：
<asp:TextBox 
     ID = "txtConfirmPwd"
     runat = "server"
     TextMode = "Password"></asp:TextBox>
<asp:CompareValidator 
     ID = "cmpConfirmPwd"
     runat = "server"
     ControlToCompare = "txtConfirmPwd"
     ControlToValidate = "txtNewPwd"
     ErrorMessage = "请输入正确的确认密码"></asp:CompareValidator>
<br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Button     
     ID = "btnConfirm"
     Text = "确定" 
     runat = "server"
     OnClick = "btnConfirm_Click" />
<asp:Button 
     ID = "btnReset"
     Text = "重置"
     runat = "server"
     OnClick = "btnReset_Click" />
</asp:Content>

